#! python3
import random

print('''
========================
      密码生成器
========================
''')
numberOfPassword = int(input('要生成几个密码？'))
lengthOfPassword = int(input('要生成几位数的密码？'))

sourceOfPassword = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@£$%^&*().,?0123456789'


for i in range(numberOfPassword):
    password = ''
    for j in range(lengthOfPassword):
        password += random.choice(sourceOfPassword)
    print(password)

